3.29.87 \(\int \frac {1}{\sqrt {4-x} \sqrt {-15+8 x-x^2}} \, dx\) [2887]

Optimal. Leaf size=14 \[ -2 F\left (\left .\sin ^{-1}\left (\sqrt {4-x}\right )\right |-1\right ) \]

[Out]

-2*EllipticF((4-x)^(1/2),I)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {703, 227} \begin {gather*} -2 F\left (\left .\text {ArcSin}\left (\sqrt {4-x}\right )\right |-1\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(Sqrt[4 - x]*Sqrt[-15 + 8*x - x^2]),x]

[Out]

-2*EllipticF[ArcSin[Sqrt[4 - x]], -1]

Rule 227

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> Simp[EllipticF[ArcSin[Rt[-b, 4]*(x/Rt[a, 4])], -1]/(Rt[a, 4]*Rt[
-b, 4]), x] /; FreeQ[{a, b}, x] && NegQ[b/a] && GtQ[a, 0]

Rule 703

Int[1/(Sqrt[(d_) + (e_.)*(x_)]*Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2]), x_Symbol] :> Dist[(4/e)*Sqrt[-c/(b^2
- 4*a*c)], Subst[Int[1/Sqrt[Simp[1 - b^2*(x^4/(d^2*(b^2 - 4*a*c))), x]], x], x, Sqrt[d + e*x]], x] /; FreeQ[{a
, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[2*c*d - b*e, 0] && LtQ[c/(b^2 - 4*a*c), 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {4-x} \sqrt {-15+8 x-x^2}} \, dx &=-\left (2 \text {Subst}\left (\int \frac {1}{\sqrt {1-x^4}} \, dx,x,\sqrt {4-x}\right )\right )\\ &=-2 F\left (\left .\sin ^{-1}\left (\sqrt {4-x}\right )\right |-1\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.02, size = 28, normalized size = 2.00 \begin {gather*} -2 \sqrt {4-x} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};(4-x)^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(Sqrt[4 - x]*Sqrt[-15 + 8*x - x^2]),x]

[Out]

-2*Sqrt[4 - x]*Hypergeometric2F1[1/4, 1/2, 5/4, (4 - x)^2]

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(40\) vs. \(2(12)=24\).
time = 0.13, size = 41, normalized size = 2.93

method result size
default \(\frac {\EllipticF \left (\frac {\sqrt {-6+2 x}}{2}, \sqrt {2}\right ) \sqrt {10-2 x}\, \sqrt {-6+2 x}}{\sqrt {-x^{2}+8 x -15}}\) \(41\)
elliptic \(\frac {\sqrt {\left (-4+x \right ) \left (x^{2}-8 x +15\right )}\, \sqrt {-6+2 x}\, \sqrt {10-2 x}\, \EllipticF \left (\frac {\sqrt {-6+2 x}}{2}, \sqrt {2}\right )}{\sqrt {-x^{2}+8 x -15}\, \sqrt {x^{3}-12 x^{2}+47 x -60}}\) \(70\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(4-x)^(1/2)/(-x^2+8*x-15)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/(-x^2+8*x-15)^(1/2)*EllipticF(1/2*(-6+2*x)^(1/2),2^(1/2))*(10-2*x)^(1/2)*(-6+2*x)^(1/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(4-x)^(1/2)/(-x^2+8*x-15)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(-x^2 + 8*x - 15)*sqrt(-x + 4)), x)

________________________________________________________________________________________

Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order 4.
time = 0.13, size = 8, normalized size = 0.57 \begin {gather*} 2 \, {\rm weierstrassPInverse}\left (4, 0, x - 4\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(4-x)^(1/2)/(-x^2+8*x-15)^(1/2),x, algorithm="fricas")

[Out]

2*weierstrassPInverse(4, 0, x - 4)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- \left (x - 5\right ) \left (x - 3\right )} \sqrt {4 - x}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(4-x)**(1/2)/(-x**2+8*x-15)**(1/2),x)

[Out]

Integral(1/(sqrt(-(x - 5)*(x - 3))*sqrt(4 - x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(4-x)^(1/2)/(-x^2+8*x-15)^(1/2),x, algorithm="giac")

[Out]

integrate(1/(sqrt(-x^2 + 8*x - 15)*sqrt(-x + 4)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.07 \begin {gather*} \int \frac {1}{\sqrt {4-x}\,\sqrt {-x^2+8\,x-15}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((4 - x)^(1/2)*(8*x - x^2 - 15)^(1/2)),x)

[Out]

int(1/((4 - x)^(1/2)*(8*x - x^2 - 15)^(1/2)), x)

________________________________________________________________________________________